package com.example.demo.model;

/**
 * Users and global privileges 
 * 表:user 
 * @author sun 
 * @date 2022-04-28 
 */
public class User {
    /**
     * 
     * 表字段:id
     */
    private Integer id;

    /**
     * 
     * 表字段:user_sn
     */
    private String userSn;

    /**
     * 
     * 表字段:name
     */
    private String name;

    /**
     * 
     * 表字段:password
     */
    private String password;

    /**
     * 
     * 表字段:gender
     */
    private Integer gender;

    /**
     * 
     * 表字段:email
     */
    private String email;

    /**
     * 获取
     * @return id Integer
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return userSn String
     */
    public String getUserSn() {
        return userSn;
    }

    /**
     * 设置
     * @param userSn 
     */
    public void setUserSn(String userSn) {
        this.userSn = userSn == null ? null : userSn.trim();
    }

    /**
     * 获取
     * @return name String
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name 
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取
     * @return password String
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password 
     */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * 获取
     * @return gender Integer
     */
    public Integer getGender() {
        return gender;
    }

    /**
     * 设置
     * @param gender 
     */
    public void setGender(Integer gender) {
        this.gender = gender;
    }

    /**
     * 获取
     * @return email String
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email 
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }
}